﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Catering_Model
{
    [Serializable]
    public class InBoxInfo
    {
        private int m_ID;
        private string m_Sender;
        private string m_Msg;
        private DateTime m_ArrivedTime;
        private int m_CommPort;

        /// <summary>
        /// 标识列
        /// </summary>
        public int ID
        {
            get { return m_ID; }
            set { m_ID = value; }
        }

        /// <summary>
        /// 发送者的手机号码或特别服务号码
        /// </summary>
        public string Sender
        {
            get { return m_Sender; }
            set { m_Sender = value; }
        }

        /// <summary>
        /// 接收的短信内容
        /// </summary>
        public string Msg
        {
            get { return m_Msg; }
            set { m_Msg = value; }
        }

        /// <summary>
        /// 预计发送时间，可根据此参数设计定时发送短信
        /// </summary>
        public DateTime ArrivedTime
        {
            get { return m_ArrivedTime; }
            set { m_ArrivedTime = value; }
        }

        /// <summary>
        /// 接收信息使用的串口号
        /// </summary>
        public int CommPort
        {
            get { return m_CommPort; }
            set { m_CommPort = value; }
        }
    }
}
